/**
 * Created with IntelliJ IDEA.
 * Description:BOKD
 * User: 34321
 * Date: 2024-10-31
 * Time: 12:30
 */
public class Test {

    public static void main(String[] args) {
        int tmp = 0;
        int sum = 0;
        int result = 1;
        for(int i = 1;i<=5;i++)
        {
            result *= i;
            tmp = result;
        }
            sum += tmp;
        System.out.println("sum="+sum);
    }


    public static void main9(String[] args) {
        int result = 1;
        for(int i = 1;i<=5;i++)
        {
            result *= i;
        }
        System.out.println("result="+result);
    }

    public static void main8(String[] args) {
        int sum = 0;
        for (int i = 1;i <= 100;i++)
        {
            sum += i;
        }
        System.out.println("sum="+sum);
    }

    public static void main7(String[] args) {
        /*if(布尔表达式){
               //语句1
        }else if(布尔表达式){
               //语句2
        }else{
               //语句3
        }
         */
    }

    public static void main6(String[] args) {
        int height = 172;
        if(height >= 185)
        {
            System.out.println("理想身高");
        }else{
            System.out.println("还有待提高");
        }
    }
    public static void main5(String[] args) {
       /*if（布尔表达式）
       {
         //语句1
       }else{
         //语句2
       }

        */
    }

    public static void main4(String[] args) {
        int height = 172;
        if(height >= 172)
        {
            System.out.println("有待提高");
        }
    }


    public static void main3(String[] args) {
        //if（布尔表达式）{
        //语句
        //}
    }


    public static void main2(String[] args) {
        System.out.println("aaa");
        System.out.println("ccc");
        System.out.println("bbb");
    }


    public static void main1(String[] args) {
        System.out.println("aaa");
        System.out.println("bbb");
        System.out.println("ccc");
    }


}
